package com.tom.jmgd.entity.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.tom.jmgd.core.entity.AbstractEntity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tom
 * @since 2022-07-21
 */
public class H2Interview extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id_no", type = IdType.AUTO)
    private Long idNo;

    @TableField("emp_name")
    private String empName;

    @TableField("mobile")
    private String mobile;

    @TableField("language_status")
    private String languageStatus;

    @TableField("vehicle")
    private String vehicle;

    @TableField("technical_title")
    private String technicalTitle;

    @TableField("quacard_type")
    private String quacardType;

    @TableField("birthday")
    private LocalDate birthday;

    @TableField("age")
    private Integer age;

    @TableField("nation")
    private String nation;

    @TableField("gender")
    private String gender;

    @TableField("sex")
    private String sex;

    @TableField("weight")
    private BigDecimal weight;

    //height
    @TableField("height")
    private BigDecimal height;

    @TableField("characters")
    private String characters;

    @TableField("hobby")
    private String hobby;

    @TableField("political_face")
    private String politicalFace;

    @TableField("native_place")
    private String nativePlace;

    @TableField("residence_addr")
    private String residenceAddr;

    @TableField("house_type")
    private String houseType;

    @TableField("house_area")
    private String houseArea;

    @TableField("house_addr")
    private String houseAddr;

    @TableField("residence_place")
    private String residencePlace;

    @TableField("tel")
    private String tel;

    @TableField("marriage_status")
    private String marriageStatus;

    @TableField("childrens")
    private Integer childrens;

    @TableField("members")
    private Integer members;

    @TableField("education_type1")
    private String educationType1;

    @TableField("major1")
    private String major1;

    @TableField("education_type2")
    private String educationType2;

    @TableField("major2")
    private String major2;

    @TableField("id_card")
    private String idCard;

    @TableField("open_id")
    private String openId;

    @TableField("h2_flag")
    private String h2Flag;

    @TableField("induction_busname")
    private String inductionBusname;

    @TableField("induction_date")
    private LocalDate inductionDate;

    @TableField("emp_type")
    private String empType;

    @TableField("induction_post")
    private String inductionPost;

    @TableField("filing_post")
    private String filingPost;

    @TableField("franchise")
    private String franchise;

    @JsonDeserialize(using = LocalDateDeserializer.class)
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    @TableField("upload_date")
    private Date uploadDate;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getInductionBusname() {
        return inductionBusname;
    }

    public void setInductionBusname(String inductionBusname) {
        this.inductionBusname = inductionBusname;
    }

    public LocalDate getInductionDate() {
        return inductionDate;
    }

    public void setInductionDate(LocalDate inductionDate) {
        this.inductionDate = inductionDate;
    }

    public String getEmpType() {
        return empType;
    }

    public void setEmpType(String empType) {
        this.empType = empType;
    }

    public String getInductionPost() {
        return inductionPost;
    }

    public void setInductionPost(String inductionPost) {
        this.inductionPost = inductionPost;
    }

    public String getFilingPost() {
        return filingPost;
    }

    public void setFilingPost(String filingPost) {
        this.filingPost = filingPost;
    }

    public String getFranchise() {
        return franchise;
    }

    public void setFranchise(String franchise) {
        this.franchise = franchise;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getH2Flag() {
        return h2Flag;
    }

    public void setH2Flag(String h2Flag) {
        this.h2Flag = h2Flag;
    }

    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public Long getIdNo() {
        return idNo;
    }

    public void setIdNo(Long idNo) {
        this.idNo = idNo;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getLanguageStatus() {
        return languageStatus;
    }

    public void setLanguageStatus(String languageStatus) {
        this.languageStatus = languageStatus;
    }
    public String getVehicle() {
        return vehicle;
    }

    public void setVehicle(String vehicle) {
        this.vehicle = vehicle;
    }
    public String getTechnicalTitle() {
        return technicalTitle;
    }

    public void setTechnicalTitle(String technicalTitle) {
        this.technicalTitle = technicalTitle;
    }
    public String getQuacardType() {
        return quacardType;
    }

    public void setQuacardType(String quacardType) {
        this.quacardType = quacardType;
    }
    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }
    public String getCharacters() {
        return characters;
    }

    public void setCharacters(String characters) {
        this.characters = characters;
    }
    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
    public String getPoliticalFace() {
        return politicalFace;
    }

    public void setPoliticalFace(String politicalFace) {
        this.politicalFace = politicalFace;
    }
    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }
    public String getResidenceAddr() {
        return residenceAddr;
    }

    public void setResidenceAddr(String residenceAddr) {
        this.residenceAddr = residenceAddr;
    }
    public String getHouseType() {
        return houseType;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType;
    }
    public String getHouseArea() {
        return houseArea;
    }

    public void setHouseArea(String houseArea) {
        this.houseArea = houseArea;
    }
    public String getHouseAddr() {
        return houseAddr;
    }

    public void setHouseAddr(String houseAddr) {
        this.houseAddr = houseAddr;
    }
    public String getResidencePlace() {
        return residencePlace;
    }

    public void setResidencePlace(String residencePlace) {
        this.residencePlace = residencePlace;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getMarriageStatus() {
        return marriageStatus;
    }

    public void setMarriageStatus(String marriageStatus) {
        this.marriageStatus = marriageStatus;
    }
    public Integer getChildrens() {
        return childrens;
    }

    public void setChildrens(Integer childrens) {
        this.childrens = childrens;
    }
    public Integer getMembers() {
        return members;
    }

    public void setMembers(Integer members) {
        this.members = members;
    }
    public String getEducationType1() {
        return educationType1;
    }

    public void setEducationType1(String educationType1) {
        this.educationType1 = educationType1;
    }
    public String getMajor1() {
        return major1;
    }

    public void setMajor1(String major1) {
        this.major1 = major1;
    }
    public String getEducationType2() {
        return educationType2;
    }

    public void setEducationType2(String educationType2) {
        this.educationType2 = educationType2;
    }
    public String getMajor2() {
        return major2;
    }

    public void setMajor2(String major2) {
        this.major2 = major2;
    }
    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    @Override
    public String toString() {
        return "H2Interview{" +
            "idNo=" + idNo +
            ", empName=" + empName +
            ", mobile=" + mobile +
            ", languageStatus=" + languageStatus +
            ", vehicle=" + vehicle +
            ", technicalTitle=" + technicalTitle +
            ", quacardType=" + quacardType +
            ", birthday=" + birthday +
            ", age=" + age +
            ", nation=" + nation +
            ", gender=" + gender +
            ", sex=" + sex +
            ", weight=" + weight +
            ", characters=" + characters +
            ", hobby=" + hobby +
            ", politicalFace=" + politicalFace +
            ", nativePlace=" + nativePlace +
            ", residenceAddr=" + residenceAddr +
            ", houseType=" + houseType +
            ", houseArea=" + houseArea +
            ", houseAddr=" + houseAddr +
            ", residencePlace=" + residencePlace +
            ", tel=" + tel +
            ", marriageStatus=" + marriageStatus +
            ", childrens=" + childrens +
            ", members=" + members +
            ", educationType1=" + educationType1 +
            ", major1=" + major1 +
            ", educationType2=" + educationType2 +
            ", major2=" + major2 +
            ", idCard=" + idCard +
        "}";
    }
}
